package org.dearsor.elective.service;

import org.dearsor.elective.model.Person;
import org.dearsor.elective.repository.GenericRepository;
import org.springframework.dao.DataAccessException;

public interface PersonMgr extends GenericRepository<Person> {
	
	Person findPersonByUsernameAndPassword(String uid,String pwd) throws DataAccessException ;
	
	Person find(long id);

}
